Reputation: 1243
In RDi, am looking to refactor some RPG code and right clicked on fixed definition of field, then 'Convert Selection To Free-Form'. Would you expect this action to convert the field definition to a free-form definition. I get a 'Conversion complete' message but nothing happens to the selected code.
Tried searching RDi help for this action but couldn't find anything that provides a clear answer. Google turned up this and this. Who knew you could do that with RPG IV book has this.
Upvotes: 2
Views: 1952
Reputation: 14559
These days there is a very nice converter packaged as a VS Code extension. It had been a standalone online app called rpgfreeweb, but that has been taken down. You can still host it yourself (i.e. run it locally) if you want.
People who program on IBM i but don't have RDi would do well to take a look at VS Code with the Code for IBM i extension. It's not as full-featured as RDi, but it's pretty impressive (and arguably better than RDi in some respects), and it's completely free.
Upvotes: 1
Reputation: 23823
RDi's fixed to free form converter only works on code (c-specs).
It's also just a very basic converter, for example it doesn't convert MOVE to EVAL.
If you want a more full function converter, take a look at Linoma's RPG Toolbox or Arcad's Transformer
There's also Craig Rutledge's open source conversion tools.
Upvotes: 6