> The new card's abbr ID is put into global gNewCardID
>
> Then, at the end of this handler:
>
> wait 30 milliseconds -- put in to allow Rev to catch up with
> functions if exists(gNewCardID)
> then
> go to gNewCardID
> put emtpy into gNewCardID
> end if
>
> Rev can't find this new card. I have captured the global gNewCardID
> into "msg" and it updates and shows the newly created card abb ID.
The problem is you can't "go" to an ID number, you have to "go card"...
right now when you ask if gNewCardID exists, you're asking if the *variable*
gNewCardID exists (which it does), and then you effectively are saying:
go to 1024
which doesn't mean anything to Rev, and so you get the error. Try this:
wait 30 milliseconds -- put in to allow Rev to catch up with functions
if exists(card gNewCardID)
then
go to card gNewCardID
put emtpy into gNewCardID
end if
HTH,
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution