Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
36%
Installation Wizard into new VRC
36%
Manual into existing VRC
7%
Manual into new VRC
22%
Total votes: 45

Baanboard at LinkedIn


Reference Content

 
not.fixed()
By patvdv at 26 Feb 2008 - 21:57

not.fixed()

Syntax

void not.fixed( string string_var(.) )

Description

You can fill a string with or without specifying a start position. If you specify a start position, unused positions in the string are filled with spaces. You can prevent the string from being filled out with spaces by calling not.fixed() before filling the string. Note that, when you assign a new value to the string variable, positions after the new value are not changed.

Note

This function does not work with variables declared as FIXED.

Context

Bshell function.

Example 1

 string buf(10)

 buf(5)    = "***"    | buf contains "    ***   "        (length = 10)
 buf       = "***"    | buf contains "***"               (length = 3)

Example 2

 string buf(10)

 not.fixed( buf )
 buf(5)    = "***"    | buf contains "    ***"           (length = 7)
 buf       = "***"    | buf contains "*** ***"           (length = 7)

Related topics


0
No votes yet


All times are GMT +2. The time now is 02:19.


©2001-2017 - Baanboard.com - Baanforums.com