1616 Posted May 30, 2006 Posted May 30, 2006 (edited) how would i set a variable that equals the number of the portal row. eg Say i assigned a script to a portal field, and i clicked on row 4 how could i get the variable to equal 4 Edited May 30, 2006 by Guest
LaRetta Posted May 30, 2006 Posted May 30, 2006 Hi latinoheat, You haven't said what this is for, but here's how: Add this line to the beginning of your portal script - Set Variable [ $PortalRow ; Value: Get(PortalRowNumber) ] If the variable must persist after the script ends, add another $ to the front of variable name (thus changing it from script variable to global variable). But script parameter would work just as well here. You put script parameter of Get(PortalRowNumber) in the Optional Script Parameter portion when defining the button. Then in script, just substitute Get(ScriptParameter) whereever you need it. LaRetta
Recommended Posts
This topic is 7099 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now