[jawsscripts] Re: Function with optional parameters

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 12 Apr 2018 00:12:32 -0400

int function myFunc(int p1, optional int p2, string s)

The word "optional" comes before the first optional parameter. All that follow 
are then considered optional.

On Thu, Apr 12, 2018 at 10:56:52AM +0700, Dang Manh Cuong wrote:
To all listers
Does Jaws support script writer to create a function contains an optional 
parameter? For example, I created a function with 2 or 3 parameters, but 1 or 2 
of them is required. If it could do, please show me how.
Any help would be  appreciated.
Cuong
----------------
Dang Manh Cuong
 The Assistive technology specialist
 Sao Mai Vocational and assistive center for the blind
52/22 Huynh Thien Loc St., Hoa Thanh ward, Tan Phu dist., HCM, Vietnam.
 Tel: +8428 7302-4488
 E-mail: vanphong@xxxxxxxxxxxxxxxxxx; congnghe@xxxxxxxxxxxxxxxxxx
 Facebook: https://www.facebook.com/saomaicenterfortheblind
 Website: http://www.trungtamsaomai.org; http://www.saomaicenter.org  Mobile / ;
Zalo: +84 902-572-300
 E-mail: dangmanhcuong@xxxxxxxxx; cuong@xxxxxxxxxxxxxxxxxx
 Skype name: dangmanhcuong
 facebook: http://facebook.com/dangmanhcuong
 Twitter: @ManhCuongTech
---
This email has been checked for viruses by AVG.
http://www.avg.com

__________???

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

-- 
Doug Lee, Senior Accessibility Programmer
Level Access
mailto:Doug.Lee@xxxxxxxxxxxxxxx  http://www.LevelAccess.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller
__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: