vl-list->string


(vl-list->string numberList)

This function creates a single string from the integers in numberList.

Arguments

numberList  (list) list of integers (see Remarks)

Return

(string) the string created from input numbers

Example

(vl-list->string '(97 98 99))  returns "abc"

Remarks

in BricsCAD, each character in a string is represented by its Unicode value; therefore, forward and backward conversion between visual representation (the character) and its numerical representation (the Unicode value) is always constant across all platforms and versions, local code pages have no impact;
additionally, there is always a 1-to-1 relation (length of a string is identical to number of characters, and number of Unicode values);
this is different from AutoCAD AutoLISP, where all these conditions are not ensured, and therefore the backward + forward conversion is rather useless, and also depends on local code pages;
see (vl-string->list) function



©  Bricsys NV. All rights reserved.