PDA

View Full Version : ERROR line 90: Sintax error----> [TabIndex]



martintorres
- 7th September 2012, 08:42
Greetings friends ... I think I lost because I can not find what is wrong I have ...
I mark syntax error in the line where attachment [TabIndex] ...
I would be doing wrong?

regards, Martin from Patagonia Argentina

HenrikOlsson
- 7th September 2012, 13:25
Hi,
If it's difficult for YOU to figure it out when you sit there looking at your code how difficult do you think it is for anyone here to figure it out without even seeing the code?

Try narrowing it down to a particular section and post the relevant code.

/Henrik.

martintorres
- 7th September 2012, 21:54
sorry :D
I did not think there was a need to comment on the above lines 89, as from what I understand, the use of [TabIndex], is to control a particular set of values ​​... in this case, bits of PORTD ...
Here is part of code syntax error affected the ...


....
PORTD.0 = D0
PORTD.1 = D1
PORTD.2 = D2
PORTD.3 = D3
PORTD.4 = D4
PORTD.5 = D5
PORTD.6 = D6
PORTD.7 = D7
PORTB.0 = D8
PORTB.1 = D9

GoTo Inicio

[TabIndex]
Value=0

Demon
- 7th September 2012, 21:58
Is this taken from another language? Or a new feature in PBP 3.0?

If Tabindex is a subroutine (used GOSUB to get to it), then it should be..

TabIndex:
Value=0

I don't have any other suggestions, sorry.

Robert


EDIT: I get a syntax error if I use your way in PBP v2.6 (I don't have v3.0 yet).

martintorres
- 7th September 2012, 22:23
Hello friend ... look, the original program was:
; PICBASIC PRO (TM) Compiler 2.47, (c) 1998, 2006 microEngineering Labs, Inc.
and I have:
; PICBASIC PRO (TM) Compiler 2.50a, (c) 1998, 2007 microEngineering
You think the problem is there?

Darrel Taylor
- 7th September 2012, 23:37
TabIndex is NOT a PBP command.
It is used in HTML web pages, or CSS.

If you copied the code from a website, it may be leftover HTML tags.

You can safely remove that line.

martintorres
- 8th September 2012, 02:09
jajaja, that's weird, because the author of the file, pass me by e-mail in an archive which included ". pbp" +. "ASM" + "HEX" ... Maybe you're right ... compiled without that instruction and I mention it works the project I have in mind
Friend, do not get the idea how I broke my head to understand that TABINDEX lol

martintorres
- 9th September 2012, 04:29
Dear friends Darrel Taylor - Demon - HenrikOlsson ... Thank you for your time in helping me. Sorry, Darrell Taylor was right; There compile and works ok :D
Regards