> On 16. Oct 2018, at 15:30, Garreau, Alexandre <galex-...@galex-713.eu> wrote: > > Hi,
Hi! > > It seems other platforms such as Squeak or Pharo have a message “maxVal” > which gives the max value of a given class, such as “SmallInteger > minVal” or “3 class minVal”, for instance. > > Does GNU Smalltalk have anything, maybe incompatible, analog to this? I > guess this must not be that hard to get but I don’t know yet enough of > SmallTalk (or even Smalltalk) so that to try to make that myself… on a quick skim I have not noticed anything. In the C libgst there are two macros that might be of help to add a primitive. MAX_ST_INT and MIN_ST_INT. The values will be different on 32bit/64bit runtimes. But the question is how would you use it? holger _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org https://lists.gnu.org/mailman/listinfo/help-smalltalk