Recent Changes - Search:

* PCAN

* Phix

edit SideBar

ExplicitDiscard

Index | Core Language | Statements | Assignment | Explicit Discard

Explicit Discard

If you want to call a function but ignore the result, invoke it as follows:

    {} = somefunc()

This syntax is a derivative of multiple assignment, explained next. As it describes, the {?} = format is also perfectly valid. Note that Euphoria allows implicit discarding of function results, which Phix does not, since I do not think it is a good idea, to put it mildly.

< Assignment with Operator | Index | Multiple Assignment >

Edit - History - Print - Recent Changes - Search
Page last modified on April 16, 2026, at 10:34 PM