Changeset 8806 in project


Ignore:
Timestamp:
02/24/08 18:01:27 (12 years ago)
Author:
svnwiki
Message:

Changes applied for Anonymous (69.70.120.46) through svnwiki:

Continuing...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/chicken-for-php-programmers

    r8799 r8806  
    5858
    5959=== Numbers
     60All type of numbers are supported by Chicken, including real, complex and rational, natively (without resorting to external libraries). 
     61
     62Number can be expressed in binary, octal, decimal or hexadecimal notation by using the prefixs #b for binary, #o for octal, #d for decimal and #x for hexadecimal.  Unprefixed number are deicmal by default (so 21 and #d21 are the same)
     63
     64<table>
     65 <tr><th>PHP</th><th>scheme</th></tr>
     66 <tr><td>21</td><td>#d21</td></tr>
     67 <tr><td>025</td><td>#o25</td></tr>
     68 <tr><td>0x15</td><td>#x15</td></tr>
     69 <tr><td>n/a</td><td>#b10101</td></tr>
     70</table>
     71
     72=== Strings
     73
     74Scheme support a vast array of operations on string, including changing case, splitting, extracting substring and regular expressions based searching and replacing
     75
     76=== Data structures
     77
     78The base data structure of PHP is the Array.  In scheme it is the list.
Note: See TracChangeset for help on using the changeset viewer.