Jamie
unread,Jan 23, 2014, 2:29:23 AM1/23/14You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi guys - I was recently exposed to PowerBuilder and was told to familiarize myself with it. I am currently reading through some Powerscripts. As much as I understand most of it - there are some which I am not getting. So I am asking here in hopes of getting some answers.
Note: As I am not sure what is the commenting convention in Powerscript I have used what I have been using for other languages. In those comments is my understanding of the code, do correct me if I am wrong.
/***
Declaring within this forward statement -
it is something like a function prototype
***/
forward
/***
Declaring a global variable type - game_code - from the
game_template
***/
global type game_code from game_template
end type
/***
Declaring a local variable type - unocard_1 -
from the uno_template that is within game_code
***/
type unocard_1 from uno_template within game_code
end type
end forward
/***
After the 'prototype' we create the actual variable here
with properties in place
***/
global type game_code from game_template
long backcolor = 12632256
unocard_1 unocard_1
end type
global game_code game_code
type unocard_1 from game_template`unocard_1 within game_code
end type
Thanks.