import data script problem

Dave Calkins davecalk at intergate.com
Mon Sep 19 13:39:18 EDT 2005


Hi Bob,


>   put curNum + 1 into curNum
>   Put item curNum of field "withtabs" of stack "PDATreader" into field
> "field"&curNum
>


> I can't see anything wrong here.
>
> The error is
>
> compiling at 8:44:13 PM
> Type	repeat: garbage where a command should be
> Object	MyDatabase.abd
> Line	Put item curNum of field "withtabs" of stack "PDATreader" into 
> field
> "field"&curNum
> Hint	&
>
> I can see that the & is wrong but this works earlier.
>
> cheers
> Bob
>

Try putting "field"&curNum into parenthesis  like the following...  
field("field" & curNum)

Put item curNum of field "withtabs" of stack "PDATreader" into field 
("field" & curNum)


Dave Calkins




More information about the use-livecode mailing list