01/03/2005 @ 19:40 by Montalvo
|
Hi!
First my question: Can a custom variable be pased on CHAIN to another program?
I created this as a test:
´tuno.ibas {creatorID "mCoU"}
dim %temperature%,$animal$,%temperature$ Begin if a=0 then %animal$="Dog" %temperature%=32 chain "tusi.ibas" endif ' &temperature$=str$(%temperature%,2) gprint %animal$,10,30 gprint %temperature$,10,50 End
- - -
'tusi.ibas {creatorID "mCoJ"}
' see explanation ' dim %temperature%,$animal$,%temperature$
Begin %temperature%=99 %animal$="Frog" a=1 chain "tuno.ibas" End
And this is the problem:
1. If I try to compile TUNO, then it declares a SYNTAXERROR in TUSI in the line where %temperature% changes to 99.
2. If I include a DIM in TUSI, the same as it appears in TUNO, then it declares a SYNTAXERROR on the DIM line in TUSI.
Any idea?
|