Jump to content
  • 0

[Custom Functie] GetParByNum


Joris Aarts

Question

Posted

Naar aanleiding van deze topic: http://www.clarify.net/viewtopic.php?p=16634#16634

Heel eenvoudige manier om een scriptparameter uit een reeks op te vissen op basis van het nummer in die reeks. Spaart je wat tikwerk in scripts.

Meer uitgewerkte manier om met scriptparameters om te gaan hier:

http://www.clarify.net/viewtopic.php?t=1784

 

Syntax:

GetParByNum(paramNum)

 

Voorbeeld met als scriptparameter "kan¶ni¶baal":

GetParByNum(2)

 

Resultaat:

"ni"

 

//Retrieves value X from a set of scriptparameters where X is a number representing the position in a return-delimited list
Substitute ( 
       MiddleValues ( 
                  Get ( ScriptParameter ) 
                  ; paramNum
                  ; 1 
       ) 
; "¶" 
; "" )

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...