Class Library Cross Reference

Aus expecco Wiki (Version 25.x)
Zur Navigation springen Zur Suche springen
Die Druckversion wird nicht mehr unterstützt und kann Darstellungsfehler aufweisen. Bitte aktualisiere deine Browser-Lesezeichen und verwende stattdessen die Standard-Druckfunktion des Browsers.

This page lists some commonly used message names (aka. functions) and maps name differences. (it is incomplete and updated from time to time)


Math

Function Cross Reference
Smalltalk JavaScript (builtin) JavaScript (NodeJS) Java Python
nr sin Math.sin(nr)
or:
nr.sin()
Math.sin(nr) java.lang.Math.sin(nr) math.sin(nr)

String

Function Cross Reference
Smalltalk JavaScript (builtin) JavaScript (NodeJS) Java Python
at: [] [] charAt() []
, (comma) + + concat() +
= == == equals()
sameAs: equalsIgnoringCase()
size length()
indexOf: indexOf()
isEmpty isEmpty()
lastIndexOf: lastIndexOf()
matchesRegex: matches()
copyReplace:with: replace()
splitBy: split()
startsWith: startsWith() startswith()
endsWith: endsWith() endswith()
copyFrom:to: subString()
asLowercase toLowerCase
asUppercase toUppercase capitalize()
withoutSeparators trim()
hash hashCode()



Copyright © 2014-2024 eXept Software AG