Weird text error when create standalone

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ac11ca
Posts: 41
Joined: Sun Mar 16, 2008 2:22 am

Weird text error when create standalone

Post by ac11ca » Fri May 01, 2009 5:34 am

hi guys, I have a program that works fine, but fails when I convert it to a standalone.

The key line of code is:

Code: Select all

set the itemdelimiter to tab
put item 1 of line zCount1 of zRisky into fld "A1"
where (from Variable watcher):
zCount1 = 1
zRisky = 80% chance of 4, else 0 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4

When I do this in Rev it works fine and I get my sentence in the box A1. However, when I try this in the standalone either NOTHING comes up, or a series of crazy characters.

Does anyone know what is happening to me?

Cheers,
Adrian

ac11ca
Posts: 41
Joined: Sun Mar 16, 2008 2:22 am

Post by ac11ca » Fri May 01, 2009 6:21 am

Actually, there is nothing in zRisky, because one of my global variables putting the text into zRisky isnt working!?!

When I play in Rev the global variable = 1 and everything works
When I play in standalone the global variable is empty and nothing works.

?! :shock:

Post Reply