Phantom Documentation

[Help Home] [Phantom Home]

string string(multi-type)

Return Type: string
Parameters: multi-type

This function returns the string representation of the parameter variable. It is similar to disp, but returns the value as a string instead of displaying it.

Example Code
1 >>window w = MainWin("*", "Notepad");
2 >>int i = 10;
3 >>string s = string(w);
4 >>disp(s);
Tag: '*' Class: 'Notepad'
5 >>disp(string(i));

Copyright 2000-2011 Phantom Automated Solutions