mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-09-29 22:54:45 +00:00
18 lines
340 B
Java
18 lines
340 B
Java
package com.bytezone.diskbrowser.visicalc;
|
|
|
|
class IsError extends BooleanFunction
|
|
{
|
|
public IsError (Cell cell, String text)
|
|
{
|
|
super (cell, text);
|
|
|
|
assert text.startsWith ("@ISERROR(") : text;
|
|
}
|
|
|
|
@Override
|
|
public void calculate ()
|
|
{
|
|
source.calculate ();
|
|
bool = source.getValueResult () == ValueResult.ERROR;
|
|
}
|
|
} |