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 #7545: Feature request: .('this') vs .invoke('this')

Reported by:
Jonathan Guthrie
Date:
07 Jun, 2013
Priority:
minor
Component:
Lasso 9
Version:
9.2
Keywords:
Platform:
Feature request by Ke Carlton:

define mytype => type {
public test => .('this') // vs .invoke('this')
public invoke(p::string) => 'Test: '+#p
}

Comments

06 Sep, 2013 by Eric Knibbe
Hello,

Could the parser be updated to support the following syntax:
public whatever => .('hello')

It should behave effectively the same as:
public whatever => .invoke('hello')

Or the same as this:
public whatever => self('hello')

Both of which work fine — but don't need to be so verbose (well, the short cut is much cleaner).

Doesn't appear to clash with any existing syntax.

Thanks,

Ke
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