Lasso Soft Inc. > Home

RhinoTrac

LassoSoft Ticket Tracking System

NOTE: If you are using Lasso Server 9.3 please Log your ticket directly via the LUX admin as this will give us more information about your issue.

Lasso 9 Issues



Ticket #7686: Access match value inside its capture using #1

Reported by:
Brad Lindsay
Date:
07 Feb, 2014
Priority:
minor
Component:
Lasso 9
Version:
9.3
Keywords:
Platform:
When using the `match` statement it would be helpful to be able to access the value passed to that statement using `#1` inside the capture. This is especially helpful for those case statements that match more than one value. For example:

match(web_request->param('foo') => {
case('rhino')
myLassoMethod('rhino')
case('snake','gem')
myOtherMethod(#1)
}

Please log in to your LassoSoft account to comment

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft