Exemple #1
0
 public override ZilObject GetPrimitive([NotNull] Context ctx)
 {
     return(new ZilVector(ctx.GetStdAtom(StdAtom.PRINT), ctx.GetStdAtom(StdAtom.STRING),
                          ZilString.FromString(sb.ToString())));
 }
Exemple #2
0
 public override ZilObject GetPrimitive([NotNull] Context ctx)
 {
     return(new ZilVector(ctx.GetStdAtom(fileAccess == FileAccess.Read ? StdAtom.READ : StdAtom.NONE),
                          ZilString.FromString(path)));
 }
Exemple #3
0
 public override ZilObject GetPrimitive(Context ctx)
 {
     return(ZilString.FromString(name));
 }