Ignore:
Timestamp:
Aug 2, 2018, 10:41:11 AM (6 years ago)
Author:
chronos
Message:
  • Added: Theming support.
  • Modified: Items in Options dialog divided to two pages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Target/UTargetInterpretter.pas

    r91 r96  
    302302  for I := 0 to Length(FProgram) - 1 do begin
    303303    Result := Result + BrainFuckCommandText[FProgram[I].Command];
    304     //if FProgram[I].Command in [cmInc, cmDec, cmPointerInc, cmPointerDec,
    305     //cmSet, cmMultipy] then begin
    306     if FProgram[I].Parameter > 1 then
    307       Result := Result + IntToStr(FProgram[I].Parameter);
    308     if FProgram[I].RelIndex > 1 then
     304    if FProgram[I].Command in [cmInc, cmDec, cmPointerInc, cmPointerDec,
     305      cmSet, cmMultipy] then begin
     306      if FProgram[I].Parameter <> 1 then
     307        Result := Result + IntToStr(FProgram[I].Parameter);
     308    end;
     309    if FProgram[I].RelIndex <> 0 then
    309310      Result := Result + 'R' + IntToStr(FProgram[I].RelIndex);
    310     //end;
    311311  end;
    312312end;
Note: See TracChangeset for help on using the changeset viewer.