2005-02-26 01:18:34

Data type checking, conversion and ordering for Versa

Copyright 2005 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/

Create a new number

dictionary for instance variables (if defined)

<attribute '__dict__' of 'Resource' objects>

list of weak references to the object (if defined)

<attribute '__weakref__' of 'Resource' objects>

#FIXME: Implement more efficiently

#__get/set/delitem__ & __get/set/delslice__ are shaky ground without 2.2 iterators

#FIXME: should be updated to match comparison rules

#__get/set/delitem__ & __get/set/delslice__ are shaky ground without 2.2 iterators

Create a new string

Convert to boolean

Convert to list

Convert to number

Convert to resource

Convert to set

Convert to string 1. If it is a string, then return 2. If it is a number then convert to a string 3. If it is a boolean, then convert to true or false 4. If a list or set, the coerce the first item. If empty ''

'R'
'?'