Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <form>
- <label for=inputs>number of inputs</label>
- <input type=number min=1 value=3 name=inputs>
- <label for=outputs>number of outputs</label>
- <input type=number min=1 value=2 name=outputs>
- </form>
- <table>
- <thead>
- {subroutine}
- <tr>
- {from 0 as input to inputs repeat}
- <th>{input}</th>
- {from 0 as output to outputs repeat}
- <th>{output}</th>
- </tr>
- </thead>
- <tbody>
- {from 0 to 2**inputs repeat}
- <tr>
- {do subroutine}
- </tr>
- </tbody>
- </table>
- </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement