12-07-2004, 09:26 PM
v1ctor, I'm sending you my code tonight. The odd stuff with strings keep happenning.
I've pictured what happens, more or less:
1.- Affected are variable length strings.
2.- LEN and comparisons don't work with "damaged" strings.
3.- Damaged strings can be "repaired" using fixed length strings:
so I guess that assignation works fine.
With "damaged strings" I mean what I posted before:
I've pictured what happens, more or less:
1.- Affected are variable length strings.
2.- LEN and comparisons don't work with "damaged" strings.
3.- Damaged strings can be "repaired" using fixed length strings:
Code:
FixLength = VarLength: VarLength = FixLength
so I guess that assignation works fine.
With "damaged strings" I mean what I posted before:
Code:
Assignation Contents Len function Comparison
---------------------------------------------------------------------------------
w$ = "TOWN" -> TOWN# LEN(w$) = 4 ; IF w$ = "TOWN" -> true
w$ = "ANOTHER VAL" -> ANOTHER VAL# LEN(w$) = 11 ; IF w$ = "TOWN" -> false
w$ = "TOWN" -> TOWN#ER VAL# LEN(w$) = 11 ; IF w$ = "TOWN" -> false !!!
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i