Classic BASIC turns up in retro computing posts, where the numbered lines are half the appeal and the reason people share it as a picture.
Codeshotは貼り付けたコードからBasicを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
Basic
Basicのスニペットを、Macから離れることなく共有したくなる画像に。
Classic BASIC turns up in retro computing posts, where the numbered lines are half the appeal and the reason people share it as a picture.
Codeshotは貼り付けたコードからBasicを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
10 PRINT "CODESHOT"
20 FOR I = 1 TO 3
30 PRINT "SCALE "; I; "X"
40 NEXT I
50 END
10 PRINT "CODESHOT"
20 FOR I = 1 TO 3
30 PRINT "SCALE "; I; "X"
40 NEXT I
50 END
10 PRINT "CODESHOT"
20 FOR I = 1 TO 3
30 PRINT "SCALE "; I; "X"
40 NEXT I
50 END
Line numbers are part of the source here, not a display option. Leave the app's own line numbering off so they are not doubled up.
画像サイズを内容に合わせるか、比率で固定します(1:1、4:3、3:2、16:9、9:16、2:3、3:4)。そのうえで1×・2×・3×から選んで書き出せば、Retinaディスプレイでも鮮明なままです。⌘⇧Cでクリップボードに直接コピー、または⌘Sで保存できます。
30種類のテーマを見比べるか、全体の流れをご覧ください。
すべてMac上で動作します。コードが外に出ることはありません。