Skip to content

Instantly share code, notes, and snippets.

@mikeyaunish
mikeyaunish / base-slow-draw.red
Created June 18, 2024 17:31
Example of base slow draw
Red [
Title: "base-slow-draw.red"
Needs: View
Comment: "Generated with Direct Code"
]
do setup: [
]
@mikeyaunish
mikeyaunish / red-online-search-tool.red
Last active March 17, 2024 17:24
Red Online Search Tool
Red [
Title: "red-online-search-tool.red"
Needs: View
Comment: "Generated with Direct Code"
Date: 17-Mar-2024
]
do setup: [
num-of-search-fields: 5
run-search: does [
@mikeyaunish
mikeyaunish / find-in-array-BUG.red
Created February 9, 2021 15:15
Example of *** Throw Error: return or exit not in function
Red [
Title: "find-in-array-BUG.red"
Needs: View
Comment: "Generated with Direct Code"
]
do setup:[
find-in-array-at: function [
blk [any-type!]
at-loc [integer!]
@mikeyaunish
mikeyaunish / Livecode-enhanced.red
Created December 7, 2017 05:29
Based on Dockimbel and Didier VID livecode. Added saving and loading of files and window configuration. Make VID updates controllable.
Red [
Title: "Simple GUI livecoding demo"
Author: "Nenad Rakocevic / Didier Cadieu / Mike Yaunish"
File: %livecode-enhanced.red
Version: 1.3.0
Needs: 'View
Usage: {
Type VID code in the bottom left area, you will see the resulting GUI components
rendered live on the right side and fully functional (events/actors/reactors working live).
The top left area lets you define Red's values to be used in your VID code, even functions or anything.