ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Option,Space (External language)
In french: Option,Espace
Fills the content of WdString with space characters on the right.
Example
// In C
CALLWD("OPTION,SPACE,YES");
// In Pascal
CALLWD('OPTION,SPACE,YES');
// In VB
call CALLWD("OPTION,SPACE,YES")
Syntax
Option,Space(<Indicator>)
<Indicator>: Character string
Can be set to:
  • "Yes" to fill WdString by space characters
  • "No" to avoid filling WdString by space characters.
Remarks
  • Option,Space is equivalent to Space
  • The function behaves like a toggle: after the call to Option,Space,Yes, WdString will be automatically filled by space characters until the call the Option,Space,No
  • If Option,Space,No is called, WdString will not be filled by space characters.
  • By default, WdString will not be filled by space characters ("No").
  • If Option,Space,Yes is called, then Screen,Get returns in WdString the content of the control filled by space characters (length of WdString = length of the control).
    Caution: WdString can contain up to 200 characters.
  • If Option,Space,Yes is called, then Screen,Current returns in WdString the content of the control filled by space characters to get 10 characters
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help