runrev on vista premium

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
glenc70
Posts: 4
Joined: Tue Feb 03, 2009 1:17 am

runrev on vista premium

Post by glenc70 » Tue Feb 03, 2009 1:28 am

when i type anything in a script such as on openStack or repeat for instance it use to automatically fill in "end openStack" or "end repeat" but now im using vista it does not do that. when i type on openStack and press return it puts a red x next to it and says missing "end" but it will not allow me to go to the next line to type it in so i cant really make any type of script am i missing a setting somewhere?

im using revolution studio 3 trial edition so i dont have a lot of time

any help will be very much appreciated

thanks in advance

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Tue Feb 03, 2009 6:58 am

Are you htting the 'enter' key instead of the 'return' key by any chance? The 'enter' key will compile the script (and close the editor if you hit it twice) whereas the 'return' key goes to the next line.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Feb 03, 2009 11:38 am

Hi glenc70,

Is it possible that you forgot to insert "end if" manually? "End repeat" doesn't always get inserted and sometimes it gets inserted while it shouldn't be. I'd check your (altered) syntax before blaming it on Vista (although I'd probably tend to blame it on Visita first, too).

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

Post by gyroscope » Tue Feb 03, 2009 12:53 pm

Don’t blame it on the sunshine
Don’t blame it on the moonlight
Don’t blame it on the good times
Blame it on the Vista....

hic'¨˚

:wink:

glenc70
Posts: 4
Joined: Tue Feb 03, 2009 1:17 am

Post by glenc70 » Tue Feb 03, 2009 9:45 pm

if i hit enter or return it does the same thing its mainly only when i try to add a script to the main stack what im trying to do is:

on openStack
set the backgroundColor of this stack to "red"
end openStack

but as soon as i type on openStack and press enter or return it put an error x next to it and the error says:
stack "stack": compilation error at line 2 (Handler: bad command), char 1

when i do this on an xp machine it works perfectly but my vista box keeps refusing the syntax
i have also called my stack "stack" if this helps in anyway
oh and when i type on openStack it will not let me enter anything else so i cant even put "end openStack" in manually

hopefully i have explained it a litte better

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Post by paul_gr » Tue Feb 03, 2009 10:21 pm

Must be something to do with your setup.
I use Rev 3.0 on Vista all the time and your script works ok for me.

Paul

glenc70
Posts: 4
Joined: Tue Feb 03, 2009 1:17 am

Post by glenc70 » Wed Feb 04, 2009 12:48 am

what version of vista do you use (basic, premium, etc)

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Post by paul_gr » Wed Feb 04, 2009 1:22 am

I use both Home Premium and Ultimate versions of Vista without any Rev problems.
I haven't noticed any differences between working on XP or Vista so far.

Paul

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu Feb 05, 2009 2:10 pm

Hi glenc70,

I don't think that it is a good idea to call a stack stack. If a stack is called stack, stack might be parsed as stack, while you mean stack --as you can see, that's confusing :-)

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

glenc70
Posts: 4
Joined: Tue Feb 03, 2009 1:17 am

sorry

Post by glenc70 » Sat Feb 07, 2009 1:28 am

sorry for wasting everyones time i finnaly got it going when i log onto my computer i am a member of the admin group but the permissions for runrev was not right so i set it to full control and now everythings ok i guess its one of thos vista things that you didnt have to worry about in xp

thanks for all of your answers though i very much appreciated it

thanks

Post Reply